<?php if (!defined('BASEPATH')) exit('No direct script access allowed');

/**
 * SimplyPost
 *
 * @author		Pascal Kriete
 * @package		SimplyPost
 * @copyright	Copyright (c) 2008, Pascal Kriete
 * @license 	http://www.gnu.org/licenses/lgpl.txt
 */

// ------------------------------------------------------------------------

/**
 * Conditional Template Tags - will be prefaced with cond:
 */

$admin_title					=	'<p id="admin_title">Admin Tools <span id="admin_handle">&and;</span></p>
									<noscript><p><strong>Administration actions require JavaScript.</strong></p></noscript>';
$admin_toggles					=	'<span class="tog_cap">Inline Editor: </span><span class="on" id="evt_toggle">On</span><br/>
									<span class="tog_cap">Confirm Delete: </span><span class="on" id="conf_toggle">On</span><br/>';


$tags['user']					=	array('', '', $this->_CI->logged_in);
$tags['admin']					=	array('', '', $this->_CI->is_admin);
$tags['not_admin']				=	array('', '', !$this->_CI->is_admin);

$tags['admin_box']				=	array(	'<div id="admin">'.$admin_title.'<div id="admin_body" class="hide hidden">',
												'<div id="toggles">'.$admin_toggles.'</div></div></div>',
												$this->_CI->is_admin);